/* 基础设置 */
.container {
    width: 1190px;
    margin: 0 auto;
}

/* #region 顶部导航条 */
/* 顶部导航条 start */
.topbar {
    height: 30px;
    background-color: #ECECEC;
}

.welcome {
    height: 30px;
    line-height: 30px;
    font-size: 0px;
}

.welcome span, .welcome a {
    font-size: 12px;
    color: #666;
}

.welcome .hello {
    margin-right: 28px;
}

.welcome .login {
    padding-right: 10px;
    border-right: 1px solid #666;
}

.welcome .register {
    padding-left: 10px;
}

.topbar-nav {
    height: 30px;
    line-height: 30px;
}


.topbar-nav .list li {
    float: left;
    font-size: 12px;
}

.topbar-nav .list li a {
    color: #666;
    padding: 0 15px;
    border-right: 1px solid #666;
}

.topbar-nav ul li:first-child a {
    padding-left: 0;
}

.topbar-nav ul li:last-child a {
    padding-right: 0;
    border-right: 0px;
}

/* 顶部导航条 end */

/* #endregion */


/* #region 头部 */
.header {
    height: 120px;
}

.header .search form {
    margin-top: 42px;
    font-size: 0px;
}

.header .search input {
    width: 508px;
    height: 32px;
    border: 1px solid #DD302D;
}

.header .search button {
    width: 80px;
    height: 36px;
    background-color: #DD302D;
    border: none;
    vertical-align: top;
    background-image: url(../images/serch_icon.png);
    background-repeat: no-repeat;
    background-position: 28px 6px;
}

.header .logo {
    font-size: 0;
}

/* #endregion 头部 */

/* #region 主导航区 */
.main-nav {
    height: 48px;
    border-bottom: 1px solid #DD302D;
    /* background-color: gray; */
}

.main-nav .all-types {
    font-size: 16px;
    color: white;
    width: 190px;
    height: 48px;
    background-color: #DD302D;
    line-height: 48px;
    text-align: center;
}

.main-nav-list li {
    float: left;
    font-size: 16px;
    margin: 0 10px
}

.main-nav-list li:first-child {
    margin-left: 10px;
}

.main-nav-list {
    height: 48px;
    line-height: 48px;
}

/* #endregion */


/* #region 主要内容区 */
.main-content {
    margin-top: 10px;
}
.main-content .sidebar {
    width: 190px;
    height: 458px;
    background-color: #F4F4F4;
    position: relative;
}

/* .main-content .sidebar li {
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    padding-left: 16px;
} */

.main-content .sidebar li {
    font-size: 14px;
    line-height: 20px;
    padding: 4px 0px 4px 16px;
}

.main-content .sidebar li:first-child {
    padding-top: 9px;
}

.main-content .sidebar li:last-child {
    padding-bottom: 9px;
}

.main-content .second-menu {
    width: 680px;
    height: 458px;
    background-color: white;
    position: absolute;
    top: 0;
    left: 190px;
    padding-left: 20px;
    /* left: -10px; */
}



.main-content .sidebar li:hover {
    background-color: #DD302D;
}

.main-content .sidebar li:hover>a {
    color: white;
}

.second-menu {
    padding-top: 10px;
    display: none;
}

.main-content li:hover .second-menu {
    display: block;
}

.second-menu dl {
    height: 36px;
    line-height: 36px;
    font-size: 0;
}

.second-menu dt {
    height: 36px;
    float: left;
    font-size: 14px;
    width: 70px;
    font-weight: bold;
    margin-right: 10px;
}

.second-menu dd {
    height: 36px;
    float: left;
}

.second-menu dd a {
    font-size: 14px;
    padding: 0 10px;
    border-left: 1px solid #999;
}







.main-content .banner {
    width: 690px;
    height: 458px;
    background-color: skyblue;
    margin: 0 10px;
}



.main-content .sidebar-other {
    width: 290px;
    height: 458px;
}

.main-content .message {
    height: 156px;
    width: 260px;
    border: 1px solid #D9D9D9;
    padding: 0 14px;
}

.main-content .message .title {
    height: 38px;
    line-height: 38px;
    border-bottom: 1px solid #D9D9D9;
}

.main-content .message .title span {
    font-size: 14px;
}

.main-content .message .title a {
    font-size: 12px;
    color: #999;
}

.main-content .msg-list li {
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    color: #666;
}

.main-content .msg-list li a {
    color: #666;
}


.main-content .other-nav {
    height: 290px;
    width: 290px;
    /* background-color: orange; */
    margin-top: 10px;
    overflow: hidden;
}

.other-nav-list:first-child {
    margin-top: 16px;
}

.other-nav-list:nth-child(2) {
    margin: 17px 0;
}

.other-nav-list li {
    height: 70px;
    width: 48px;
    /* background-color: skyblue; */
    float: left;
    margin: 0 11px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.other-nav-list li:first-child {
    margin-left: 16px;
}

.other-nav-list .picture {
    width: 48px;
    height: 48px;
    background-image: url('../images/精灵图-侧边功能.png');
}

.other-nav-list:nth-child(1) li:nth-child(1) .picture {
    background-position: 0 0;
}

.other-nav-list:nth-child(1) li:nth-child(2) .picture {
    background-position: -48px 0;
}


.other-nav-list:nth-child(1) li:nth-child(3) .picture {
    background-position: -96px 0;
}


.other-nav-list:nth-child(1) li:nth-child(4) .picture {
    background-position: -144px 0;
}

.other-nav-list:nth-child(2) li:nth-child(1) .picture {
    background-position: 0 -48px;
}

.other-nav-list:nth-child(2) li:nth-child(2) .picture {
    background-position: -48px  -48px;
}


.other-nav-list:nth-child(2) li:nth-child(3) .picture {
    background-position: -96px  -48px;
}


.other-nav-list:nth-child(2) li:nth-child(4) .picture {
    background-position: -144px  -48px;
}

.other-nav-list:nth-child(3) li:nth-child(1) .picture {
    background-position: 0 -96px;
}

.other-nav-list:nth-child(3) li:nth-child(2) .picture {
    background-position: -48px  -96px;
}


.other-nav-list:nth-child(3) li:nth-child(3) .picture {
    background-position: -96px  -96px;
}


.other-nav-list:nth-child(3) li:nth-child(4) .picture {
    background-position: -144px  -96px;
}




/* #endregion */


/* #region 秒杀 */
.seckill {
    margin-top: 10px;
}

.seckill .container {
    font-size: 0;
}

.seckill .container img {
    margin-right:11px;
    cursor: pointer;
}

.seckill .container img:last-child {
    margin-right: 0px;
}


/* #endregion */